@import "../../../device/device/device.component.scss";
@import "ng-devui/styles-var/devui-var.scss";
.card-title1{
  font-size: var(--devui-font-size-modal-title, 18px);
  font-weight: 700;
}
.label{

  font-size:$devui-font-size-card-title	;

}

.card-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  span{
    font-weight: 700;
  font-size: $devui-font-size-page-title;
  }
}
.d-flex{
  display: flex;
  flex-direction: row;
  justify-content:space-between;
}
.employs-box{
  display: flex;
  flex-direction: column;
  gap: 20px ;
  .card1 {
    height: 60%;
    min-height: 150px;
    overflow-y: auto;
    .card-title{
      text-align: left;
      .form-title{
        font-weight: 700;
      }
    }
  }
  .card{
    .card-title{
      text-align: left;
      .form-title{
        font-weight: 700;
      }
    }
  }
}
.Required{
  color: $devui-danger;
}
:host ::ng-deep .devui-form-horizontal .devui-form-operation[_nghost-ng-c1609466844] {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  border-top: 1px solid #e8e8e8;
}
d-form-control{
  min-width: 200px;
  border-radius: var(--devui-border-radius,2px);
}
.u-1-3{
  width: 33.33%;
  min-width: 300px;
  padding-right: 20px;
}

.isApproved{
  margin-left: 16px;
}
.duration{
  margin-left: 16px;
}
:host::ng-deep .devui-dropdown .devui-dropdown-toggle {
  box-shadow: none;
  outline: 0;
  background-color: #fff!important;
}
:host::ng-deep .devui-datepicker-pro-wrapper {
  max-width: 300px;
  min-width: 260px;
  width: 100% !important;
}
.devui-form-horizontal .devui-form-label {
  flex: 0 0 110px!important;
}

.node{
  position: relative;
  .text{
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: $devui-brand;
    font-size: $devui-font-size-page-title;
  }
}
.mt-3{
  margin-top: 8px;
}
.mt-5{
  margin-top: 20px;
}
.card-process{
  height: 100%;
}
.setProcess{
  flex-grow: 1;
  display: flex;
  flex-direction: row;
  .view{
    flex-grow: 1;
    margin-right: 15px;
    overflow: auto;
    border-right: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    .card2{
      height: 0;
      flex-grow: 1;
      overflow: auto;
      .flow-start{
        text-align: center;
        width: 330px;
        margin: 0 auto;
        span{
          color: $devui-aide-text;
          font-size: $devui-font-size-card-title;
          font-weight: bold;
        }
      }
      .flow-end{
        text-align: center;
        width: 330px;
        margin: 0 auto;
        span{
          color: $devui-aide-text;
          font-size: $devui-font-size-card-title;
          font-weight: bold;
        }
      }
      .puls-item{
        position: relative;
        text-align: center;
        width: 330px;
        margin: 0 auto;
        .long-arrow{
          position: relative;
          width: 3px;
          height: 40px;
          background-color: $devui-aide-text;
          margin: 0 auto 10px;
          &:after{
            content: "";
            position: absolute;
            border-left: 4px solid transparent;
            border-right: 4px solid transparent;
            border-top: 10px solid $devui-aide-text;
            border-bottom: 10px solid transparent;
            bottom: 0;
            left: 50%;
            transform: translate(-50%) translateY(100%);
          }
        }
        i{
          font-size: $devui-font-size-card-title;
          position: absolute;
          top: 40%;
          left: 50%;
          transform: translate(-50%);
          z-index: 1;
          color: $devui-aide-text;;
          background-color:$devui-base-bg;
          cursor: pointer;
        }
      }
      .flow-nodes{
        text-align: center;
        vertical-align: top;
        width: 330px;
        margin: 0 auto;

      }

    }
    .preview{
      position: sticky;
      top: 0;
      float: right;
      right: 0;
      z-index: 999;
    }
    .preView{
      margin-top: 5px;
    }
  }
  .input-group{
    width: 60%;
    overflow: auto;
  }
}
::ng-deep d-tabs .devui-nav-tabs {
  display: flex;
  justify-content: left!important;
  padding: 0 12px;
}


.add{
  font-size: 16px;
  cursor: pointer;
  background-color: $devui-primary;
  border-radius: 50%;
  color: #fff;
}
.minus{
  font-size: 16px;
  cursor: pointer;
  background-color: $devui-danger;
  border-radius: 50%;
  color: #fff;
}
.button{
  display: flex;
  flex-direction: row;
}
:host::ng-deep .cell-container-inner.modify-holder {
  padding-right: 0px!important;
}
.my-icon::before {
  width: 16px;
  height: 16px;
  font-style: italic;
  font-size: $devui-font-size;
  line-height: 14px;
  display: inline-block;
  text-align: center;
  color: $devui-light-text;
  border-radius: $devui-border-radius;
}
.my-icon.doc::before {
  content: 'W';
  background-color: #295396;
  border: 1px #224488 solid;
}
.my-icon.pdf::before {
  content: 'A';
  background-color: #da0a0a;
  border: 1px #dd0000 solid;
}
.my-icon.xls::before {
  content: 'X';
  background-color: #207044;
  border: 1px #18683c solid;
}
.my-icon.ppt::before {
  content: 'P';
  background-color: #d14424;
  border: 1px #dd4422 solid;
}
.my-icon.mix::before {
  content: '?';
  font-style: normal;
  background-color: #aaaaaa;
  border: 1px #999999 solid;
}

:host ::ng-deep .icon.icon-collapse {
  transform: rotateY(180deg);
  display: inline-block;
}

.op-icons {
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  color: #575d6c;
  font-size: $devui-font-size-icon;
}

.op-status {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: $devui-success;
}

.status-position {
  position: absolute;
  right: 8px;
}

:host ::ng-deep .devui-tree-node__content {
  width: 100%;
}

.tree-title {
  display: flex;
  justify-content: space-between;
  padding-left: 24px;
  padding-right: 16px;
}

.op-icons:focus {
  outline: none;
}

.devui-tree-node__edit {
  margin: 0 8px;
}
:host::ng-deep .d-checkbox.ng-tns-c2748408093-5.devui-glow-style.ng-untouched.ng-pristine.ng-valid.ng-star-inserted
{
  display: none!important;
}

.input-group-body{
  display: flex;
  flex-direction: column;
  .input-row{
    display: flex;
    flex-direction: row;
    .input-g{
      width: 50%;
      display: flex;
      min-width: 280px;
      flex-direction: row;
      align-items: center;
      label{
        display: block;
        width: 90px!important;
        text-align: right;
        margin-right: 15px;
        font-size: $devui-font-size-card-title!important;
      }
      .input-inner{
        display: flex;
        flex-direction: row;
        label{
          display: block;
          width: 90px !important;
          text-align: right;
          margin-right: 15px;
          font-size: var(--devui-font-size-card-title, 14px) !important;
        }

      }

    }
  }
}
  input.danwei{
    width: 45px!important;
  }
.MaterialData{
  width: 100%;
}
.mom-fujian{
  margin-left: 50px;
}
.da-content-wrapper{
  form{
    height:100%;
    display:flex;
    flex-direction: row;
    .employs-box{
      width:calc(100% - 260px);
      flex-grow: 1;
      display: flex;
    }
  }
}
:host ::ng-deep{
  .da-content-wrapper .devui-data-table .devui-table-view .scroll-view {
    height: 100%;
  }
}
.input-box{
  display: flex;
  flex-direction: row;
  justify-content: center;
  input{
    width: 70%!important;
  }
}
.input-group{
  .devui-form-label{
    flex: 0 0 80px!important
  }
}
.card-body{
  height: 0;
}
.op-icons {
  display: inline-block;
  margin-left: 8px;
  cursor: pointer;
  color: #575d6c;
  font-size: $devui-font-size-icon;
}
.my-icon::before {
  width: 16px;
  height: 16px;
  font-size: $devui-font-size;
  line-height: 14px;
  display: inline-block;
  text-align: center;
  color: $devui-light-text;
  border-radius: $devui-border-radius;
  margin-left: 5px;
}
.my-icon.icon-unarchived-item::before {
  background-color: #295396;
  border: 1px #224488 solid;
}
.my-icon.icon-merge-request2::before {

  background-color: #207044;
  border: 1px #18683c solid;
}
.my-icon.B::before {
  content: 'B';
  background-color: #d14424;
  border: 1px #dd4422 solid;
}
.my-icon.icon-tag::before {
  font-style: normal;
  background-color: #aaaaaa;
  border: 1px #999999 solid;
}

.input-grouppp{
  width: 100%;
  display: flex;
  flex-direction: row;
}
.me-20{
  margin-right: 20px;
}
